Termination of the following Term Rewriting System could be disproven:

Generalized rewrite system (where rules with free variables on rhs are allowed):
The TRS R consists of the following rules:

tail(cons(X)) → Y
if(true) → X
if(false) → Y
primessieve(from(s(s(0))))
from(X) → cons(X)
head(cons(X)) → X
filter(s(s(X)), cons(Y)) → if(divides(s(s(X)), Y))
sieve(cons(X)) → cons(X)



GTRS
  ↳ CritRuleProof

Generalized rewrite system (where rules with free variables on rhs are allowed):
The TRS R consists of the following rules:

tail(cons(X)) → Y
if(true) → X
if(false) → Y
primessieve(from(s(s(0))))
from(X) → cons(X)
head(cons(X)) → X
filter(s(s(X)), cons(Y)) → if(divides(s(s(X)), Y))
sieve(cons(X)) → cons(X)


The rule tail(cons(X)) → Y contains free variables in its right-hand side. Hence the TRS is not-terminating.